Skip to content

docs(feat[api-style]): Visual improvements to API docs via gp-sphinx#53

Merged
tony merged 5 commits intomasterfrom
api-styling
Apr 11, 2026
Merged

docs(feat[api-style]): Visual improvements to API docs via gp-sphinx#53
tony merged 5 commits intomasterfrom
api-styling

Conversation

@tony
Copy link
Copy Markdown
Member

@tony tony commented Apr 6, 2026

Summary

Adopt the gp-sphinx Sphinx package stack for g's API documentation. The net visual effect is card-style autodoc signatures with safety and scope badges, MyST cross-reference roles for Python objects, scoped section names in multi-page CLI docs, and polished IBM Plex typography — all landing together from the gp-sphinx 0.0.1a7 pre-release.

What's new

  • API-style autodoc layout via sphinx-autodoc-api-style — card layouts, badges, MyST roles for Python objects
  • Shared badge layer via sphinx-autodoc-badges — consistent XS/SM/LG/XL size variants with WCAG-AA contrast
  • Multi-page argparse scoping via sphinx-argparse-neo — CLI doc builds no longer emit duplicate label warnings (gp-sphinx#16)
  • Font polish via sphinx-fonts — IBM Plex Sans and Mono at full weight range, zero-CLS loading

Verification

  • uv run ruff check . --fix --show-fixes
  • uv run ruff format .
  • uv run mypy
  • uv run py.test --reruns 0 -vvv
  • just build-docs

All pass on the branch tip. See gp-sphinx 0.0.1 release notes for the full list of changes covering 0.0.1a1..0.0.1a7.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.89%. Comparing base (a9696cf) to head (dad637a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   96.89%   96.89%           
=======================================
  Files           5        5           
  Lines         129      129           
=======================================
  Hits          125      125           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

tony added 2 commits April 6, 2026 12:39
…i-style

why: Add type and modifier badges to autodoc entries.
what:
- Add sphinx_autodoc_api_style to extra_extensions in docs/conf.py
…to 0.0.1a5

why: Align docs dependencies with latest gp-sphinx workspace releases.
what:
- Pin sphinx-autodoc-api-style and bump gp-sphinx packages to 0.0.1a5
- Regenerate uv.lock
tony added 2 commits April 11, 2026 08:56
why: Align dev docs dependencies with gp-sphinx 0.0.1a6 on PyPI.
what:
- Bump gp-sphinx ecosystem pins in pyproject.toml
- Regenerate uv.lock
why: Pick up the sphinx-argparse-neo multi-page duplicate-label
scoping fix landed in gp-sphinx PR #16 so docs builds on this
branch emit fewer duplicate label warnings.
what:
- Bump gp-sphinx and sibling package pins from 0.0.1a6 to 0.0.1a7
- Regenerate uv.lock
why: Capture the api-styling migration to the gp-sphinx package
stack in the unreleased notes.
what:
- Add a Documentation bullet under g 0.0.10
  linking to the project PR
@tony tony changed the title style(deps[docs]): Integrate sphinx-autodoc-api-style, bump gp-sphinx packages to 0.0.1a5 docs(feat[api-style]): Visual improvements to API docs via gp-sphinx Apr 11, 2026
@tony tony marked this pull request as ready for review April 11, 2026 14:03
@tony tony merged commit cb4dee9 into master Apr 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants